CMake Configuration for Demo Project
/2019_11_18_fuzzing_gilded_rose.dir/GildedRoseApprovalTe sts.cc.gcda: # cannot merge previous GCDA file: corrupt arc tag (0x01000000) add_custom_target(delete_coverage_gcda_files COMMAND find ${CMAKE_BINARY_DIR}0 码力 | 1 页 | 1.23 KB | 5 月前3694SVGFites CMake Configuration
0 码力 | 1 页 | 436.00 B | 5 月前3CMakeLists.txt for ApprovalTests Configuration
0 码力 | 1 页 | 250.00 B | 5 月前3CMake Configuration for Asio Basic Library and Tests
0 码力 | 1 页 | 71.00 B | 5 月前3File I/O for Game Developers: Past, Present, and Future
FILE I/O: PAST, PRESENT AND FUTURE CPPCON OCTOBER 3RD 2023 GUY DAVIDSON @HATCAT01INTRODUCTIONS • Head of Engineering Practice at Creative Assembly • 1980 – Acorn Atom • ISO/IEC JTC1/SC22/WG21 • BSI Why do we have files? • What is a filesystem? • Why should we avoid buffered file IO? • How do we optimise unbuffered file IO? • How might the standard help us in future?AGENDA • Sub-megabyte days • More RAM, more disk capacity • Moving data into and out of RAM • File IO in C++ from fstream to the OS SDK • The 64-bit address spaceSUB-MEGABYTE DAYS • Why do we have files?SUB- MEGABYTE DAYSSUB-0 码力 | 64 页 | 2.69 MB | 5 月前3make & Makefile
. . . . . . . . . . . . . . . . . . . . . . make & Makefile . 问题及解决方法 . . .1 如果某个源文件 (source file)修改必须重新生成所有与之关联的目 标文件 (targets), 如:对lex.h的改动, 必须重新手工编译lex.c, plain.c及最后生成plain, 这对管理工程造成了很大的不便; .2 Makefile . make 命令格式 1/2 . . Syntax of make: make [options] [target1 target2 ...] 常用的选项如下: -f file 以file作为Makefile; -d 输出 debug 信息,如:make -d -f Myfile > log 2>&1 -p 打印Makefile文件的所有的规则, 包括系统内置的变量和潜 规则; . . . . . . . . . . . . . . . . . . . . . make & Makefile . make 命令格式 2/2 . . make在执行时如果没有-f file选项,首先以当前目录下的名 为makefile的文件作为其分析处理的对象, 其次是名 为Makefile的文件; 如果都不存在, make将报错如下: make: *** No targets specified0 码力 | 36 页 | 975.98 KB | 1 年前3Java 应用系统开发 - ServletContext 和 Web 配置
0 码力 | 33 页 | 668.91 KB | 1 年前3跟我一起写 Makefile (PDF 重制版)
无论是 C 还是 C++,首先要把源文 件编译成中间代码文件,在 Windows 下也就是 .obj 文件,UNIX 下是 .o 文件,即 Object File,这个 动作叫做编译(compile)。然后再把大量的 Object File 合成可执行文件,这个动作叫作链接(link)。 编译时,编译器需要的是语法的正确,函数与变量的声明的正确。对于后者,通常是你需要告诉编 译器头文件的所 件,只管函数的中间目标文件(Object File), 在大多数时候,由于源文件太多,编译生成的中间目标文件太多,而在链接时需要明显地指出中间目标 文件名,这对于编译很不方便。所以,我们要给中间目标文件打个包,在 Windows 下这种包叫“库文 件”(Library File),也就是 .lib 文件,在 UNIX 下,是 Archive File,也就是 .a 文件。 总结一下,源文件 明,编译器会给出一个警告,但可以生成 Object File。而在链接程序时,链接器会在所有的 Object File 中找寻函数的实现,如果找不到,那到就 会报链接错误码(Linker Error),在 VC 下,这种错误一般是:Link 2001 错误,意思说是说,链接器 未能找到函数的实现。你需要指定函数的 Object File。 好,言归正传,gnu 的 make 有许多的内容,闲言少叙。0 码力 | 81 页 | 628.51 KB | 1 年前3Linux 下 Makefile 的 automake 生成全攻略
的内容修改,去掉无关的语句: ===============configure.in 内容开始=================== # -*- Autoconf -*- # Process this file with autoconf to produce a configure script. AC_INIT(helloworld.c) AM_INIT_AUTOMAKE(helloworld, 文件中的宏的顺序并没有规定,但是 你必须在所有宏的最前面和最后面分别加上 AC_INIT 宏和 AC_OUTPUT 宏。 在 configure.in 中: #号表示注释,这个宏后面的内容将被忽略。 AC_INIT(FILE) 这个宏用来检查源代码所在的路径。 AM_INIT_AUTOMAKE(PACKAGE, VERSION) 11 这个宏是必须的,它描述了我们将要生成的软件包的名字及其版本号:PACKAGE 命令时,它会给你生成一个类似 helloworld-1.0.tar.gz 的软件发行包,其中就有对应的软件包的名字和版本号。 AC_PROG_CC 这个宏将检查系统所用的 C 编译器。 AC_OUTPUT(FILE) 这个宏是我们要输出的 Makefile 的名字。 我们在使用 automake 时,实际上还需要用到其他的一些宏,但我们可以用 aclocal 来帮 我们自动产生。执行 aclocal 后我们会得到0 码力 | 14 页 | 701.04 KB | 1 年前3Spring Boot 2.5.0-M3 Reference Documentation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 3.3. Configuration Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.3.1. Importing Additional Configuration Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 3.3.2. Importing XML Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 3.4. Auto-configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 681 页 | 13.41 MB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100